dda0b8a0abb74c9c67d1fd0ead01790987c224f6,src/org/jgroups/blocks/BasicConnectionTable.java,BasicConnectionTable,retainAll,#Collection#,262
Before Change
* @param c
*/
public void retainAll(Collection c) {
conns.keySet().retainAll(c);
}
/** Used for message reception. */
After Change
public void retainAll(Collection current_mbrs) {
if(current_mbrs == null) return;
HashMap copy;
synchronized(conns) {
copy=new HashMap(conns);
conns.keySet().retainAll(current_mbrs);
}
// All of the connections that were not retained must be destroyed